﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using ForumsBrowser.BusinessObjects;
using ForumsBrowser.ObjectGateway;

namespace ForumsBrowser
{
    /// <summary>
    /// Interaction logic for UserHeader.xaml
    /// </summary>
    public partial class UserHeader : UserControl
    {
        public UserHeader()
        {
            InitializeComponent();
        }      
        
        public static readonly DependencyProperty UserProperty = DependencyProperty.Register("User", typeof(User), typeof(UserHeader));

        public User User
        {
            get { return (User)this.GetValue(UserProperty); }
            set { this.SetValue(UserProperty, value); }
        }
    }
}
